# Description: Web Tarayıcıları için küçük, verimli ve hızlı render motoru.
# URL: http://www.webkitgtk.org/
# Packager: milisarge
# Depends on: libwebp libsecret geoclue gperf gtk2 gtk3 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby

name=webkitgtk3
version=2.4.11
release=1
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
        webkitgtk-2.4.9-abs.patch)

build() {
	cd webkitgtk-$version
	patch -Np1 -i ../webkitgtk-2.4.9-abs.patch

	install -d build
	cd build

	../configure \
		--prefix=/usr \
		--disable-geolocation \
		--disable-gtk-doc-html \
		--disable-silent-rules \
		--enable-video \
		--enable-jit \
		--libexecdir=/usr/lib/webkitgtk3 \
        --enable-introspection
        
    make || make -j1
    make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
}
